<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    
    <head profile="http://gmpg.org/xfn/11">
        <title>
            {% block title %} {{ blog.title}}{% endblock %}
        </title>
        <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="verify-v1" content="xcAhAxcmF/ERUzTviBSwxZP1Y8SuCSOvQlh3XinaMSk=" />
        <link rel="stylesheet" href="/themes/{{ blog.theme_name }}/style.css" type="text/css" media="screen" />
        <link rel="alternate" type="application/rss+xml" title="{{ blog.title }} RSS Feed" href="{{ blog.feedurl }}" />
        <link href="/static/wlwmanifest.xml" type="application/wlwmanifest+xml" rel="wlwmanifest" />
        <script type="text/javascript" src="/themes/{{ blog.theme_name }}/js/ahimsa.js"></script>
        <script type="text/javascript">
          <!--
          if(screen.width <= 1024)
            {
              document.write("<link rel='stylesheet' type='text/css' href='/themes/{{ blog.theme_name }}/alt.css' />"); 
            } //-->
        </script>
       {% block head_block %}{% endblock %}

        <!--[if lte IE 6]>
        <script type="text/javascript" src="http://www.webrebuild.org/webrebuild_api.js"></script>
        <![endif]-->

        <!-- browser specific CSS -->
        <style type='text/css'>
            <!--[if Firefox]>
                #sidebar fieldset.sidebarlist { margin-bottom: 15px !important; } fieldset.comment
                { margin-top: 15px; }
            <![endif]-->
            <!--[if IE]>
                #sidebar { padding-top: 30px; } .post fieldset legend.title, fieldset#comments
                legend, fieldset.comment legend, fieldset#responsebox legend { font-size:
                10pt !important; } .capsule { font-size: 8pt; } fieldset.comment, fieldset#responsebox
                { padding-top: 25px; } #respond INPUT#submit { font-weight: normal; font-size:
                small; padding: 3px 0px; }
            <![endif]-->
        </style>
    </head>
    
    <body>
        <div id='bgtop'>
            <br clear='all' />
        </div>
        <div id='rsslinks'>
            <div class='capsule'>
                <a href='{{ blog.feedurl }}/comments'>
                    <img border='0' align='top' alt='Comment feeds' src='/themes/{{ blog.theme_name }}/images/rss-icon.gif'
                    />
                    <span title='Subscribe to the RSS feed for the comments on this site'>
                        Comments
                    </span>
                </a>
            </div>
            <div class='capsule'>
                <a href='{{ blog.feedurl }}'>
                    <img border='0' align='top' alt='Subscribe' src='/themes/{{ blog.theme_name }}/images/rss-icon.gif'
                    />
                    <span title='Subscribe to the RSS feed for this site'>
                        (RSS)
                    </span>
                </a>
            </div>
            {%if self.is_admin%}
            <div class='capsule'>
                <a href="/admin">
                    Admin
                </a>
            </div>
            {%endif%}
            <ul>
              {{self.m_list_pages}}
            </ul>
            <div class='capsule'>
                <a href="{{blog.baseurl}}">
                    Home
                </a>
            </div>
        </div>
        <table id='container' cellpadding='0' cellspacing='0'>
            <tr>
                <td id='maincontainer' style='height: 100%; width: 100%;'>
                    <table id='main' cellpadding='0' cellspacing='0'>
                        <tr>
                            <td class='sidetabs'>
                                &nbsp;
                            </td>
                            <td colspan='2' id='header' data-corner="20px">
                                <table border='0' cellpadding='0' cellspacing='0'>
                                    <tr>
                                        <td id='title'>
                                            <a href="{{blog.baseurl}}" title="{{blog.title}}">
                                                {{blog.title}}
                                            </a>
                                        </td>
                                        <td id='description'>
                                            {{blog.subtitle}}
                                        </td>
                                        <td id='search' valign='middle'>
                                            <form method="get" id="searchform" action="http://www.google.com/search"  data-corner="5px">
                                                <input type="text" value="Search..." onfocus="if (this.value == 'Search...') {this.value = '';}"
                                                onblur="if (this.value == '') {this.value = 'Search...';}" name="q" id="s"
                                                />
                                                <input name="as_q" value="site:{{blog.baseurl}}" type="hidden"/>
                                                <!-- <input type="submit" id="searchsubmit" value="Search" />
                                                -->
                                            </form>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td valign='top' class='sidetabs'>
                                <div id='sidebartab' onclick='fadeSideBar();'>
                                    <span style="color:#22bb00">
                                        &raquo;
                                    </span>
                                    <br/>
                                    S
                                    <br/>
                                    I
                                    <br/>
                                    D
                                    <br/>
                                    E
                                    <br/>
                                    B
                                    <br/>
                                    A
                                    <br/>
                                    R
                                    <br/>
                                    <span style="color:#22bb00;">
                                        &laquo;
                                    </span>
                                </div>
                            </td>
                            <td id='tdsidebar' valign='top'>
                                <!-- inline style required for easy Javascript mods, without getting computed
                                styles -->
                                <div id='sidebar' style='display: block; width:200px;'>
                                    {% include "sidebar.html" %}
                                </div>
                            </td>
                            <td id='content' valign='top'>
                                {%block content %}{%endblock%}
                            </td>
                        </tr>
                    </table>
                    <!-- end of table main -->
                </td>
            </tr>
            <tr>
                <td id='credits'>
                    <div style='text-align: center;font-size: small;'>
                        <p>
                            &copy;
                            <a href="{{blog.baseurl}}">
                                {{blog.author}}
                            </a>
                            | Powered by
                            <a href="http://xuming.net">
                                Micolog
                            </a>
                            | Theme by
                            <a href="http://ahren.org/code/">
                                Ravisarma</a>, Modified for Micolog by 
                                <a href="http://blog.judes.me/">Jude
                                </a>
                                |
                                <a href="/admin">
                                    Admin
                                </a>
                        </p>
                    </div>
                    </td>
                    </tr>
                    </table>
                    
  <div id="tracker" style="display:none">
  <!-- Google Analytics -->
  </div>
  
    </body>
</html>